package com.haoting.mamba.ucenter.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author tanghao
 * @email 767417609@qq.com
 * @date 2021-03-14 22:56:07
 */
@Data
@TableName("mamba_user_information")
public class UserInformationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	/**
	 * 
	 */
	private String username;
	/**
	 * 
	 */
	private String password;
	/**
	 * 
	 */
	private String nickname;
	/**
	 * 
	 */
	private String email;
	/**
	 * 
	 */
	private Integer sex;
	/**
	 * 
	 */
	private Integer age;
	/**
	 * 
	 */
	private String phone;
	/**
	 * 
	 */
	private String avatar;
	/**
	 * 
	 */
	private String role;
	/**
	 * 
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date created;

}
